package com.hk.commons.entity.yingmi;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * Title:YingmiOrderFile 
 * Description: 订单流水数据接口 Company:HK
 * 
 * @author Sam
 * @date 2016年3月18日上午11:08:00
 */
@Entity
@Table(name = "t_yingmi_order")
public class YingmiOrderFile implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7128606664623618954L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public Integer id;

	/**
	 * 用户账户ID 投资者在合作平台的唯一账户ID
	 */
	public String brokerUserId;

	/**
	 * 盈米账户ID 投资者在盈米财富的唯一账户ID
	 */
	public String accountId;

	/**
	 * 订单流水号 合作平台的订单流水号
	 */
	public String brokerOrderNo;

	/**
	 * 盈米订单号 盈米财富返回的订单号
	 */
	public String orderId;

	/**
	 * 支付方式ID 投资者支付方式（银行卡或三方支付）的唯一区分ID。用户在绑卡时由盈米分配。
	 */
	public String paymentMethodId;

	/**
	 * 基金代码
	 */
	public String fundCode;

	/**
	 * 收费类型
	 */
	public String shareType;

	/**
	 * 业务类型
	 */
	public String fundOrderCode;

	/**
	 * 转入基金代码
	 */
	public String changeFundCode;

	/**
	 * 转入基金收费类型
	 */
	public String changeShareType;

	/**
	 * 申请金额
	 */
	public BigDecimal appliedAmount;

	/**
	 * 申请份额
	 */
	public BigDecimal confirmShare;

	/**
	 * 申请折扣
	 */
	@Column(precision = 19 , scale = 4)
	public BigDecimal appliedDiscount;

	/**
	 * 支付状态
	 */
	public Integer payStatus;

	/**
	 * 订单状态
	 */
	public Integer orderStatus;

	/**
	 * 订单详情
	 */
	public String orderDetail;

	/**
	 * 备注
	 */
	public String remarks;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBrokerUserId() {
		return brokerUserId;
	}

	public void setBrokerUserId(String brokerUserId) {
		this.brokerUserId = brokerUserId;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getBrokerOrderNo() {
		return brokerOrderNo;
	}

	public void setBrokerOrderNo(String brokerOrderNo) {
		this.brokerOrderNo = brokerOrderNo;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getPaymentMethodId() {
		return paymentMethodId;
	}

	public void setPaymentMethodId(String paymentMethodId) {
		this.paymentMethodId = paymentMethodId;
	}

	public String getFundCode() {
		return fundCode;
	}

	public void setFundCode(String fundCode) {
		this.fundCode = fundCode;
	}

	public String getShareType() {
		return shareType;
	}

	public void setShareType(String shareType) {
		this.shareType = shareType;
	}

	public String getFundOrderCode() {
		return fundOrderCode;
	}

	public void setFundOrderCode(String fundOrderCode) {
		this.fundOrderCode = fundOrderCode;
	}

	public String getChangeFundCode() {
		return changeFundCode;
	}

	public void setChangeFundCode(String changeFundCode) {
		this.changeFundCode = changeFundCode;
	}

	public String getChangeShareType() {
		return changeShareType;
	}

	public void setChangeShareType(String changeShareType) {
		this.changeShareType = changeShareType;
	}

	public BigDecimal getAppliedAmount() {
		return appliedAmount;
	}

	public void setAppliedAmount(BigDecimal appliedAmount) {
		this.appliedAmount = appliedAmount;
	}

	public BigDecimal getConfirmShare() {
		return confirmShare;
	}

	public void setConfirmShare(BigDecimal confirmShare) {
		this.confirmShare = confirmShare;
	}

	public BigDecimal getAppliedDiscount() {
		return appliedDiscount;
	}

	public void setAppliedDiscount(BigDecimal appliedDiscount) {
		this.appliedDiscount = appliedDiscount;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getOrderDetail() {
		return orderDetail;
	}

	public void setOrderDetail(String orderDetail) {
		this.orderDetail = orderDetail;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}
